package com.xayy.health.ds.service;


import cn.kawins.base.result.CheckResult;
import com.xayy.health.ds.model.DsTaskChildInfo;
import java.util.List;

import com.xayy.health.ds.model.DsTaskInfo;
import com.xayy.health.mgt.model.TaskChildInfo;
import com.xayy.health.mgt.model.TaskInfo;
import com.xayy.health.mgt.model.vo.TaskVo;
import com.xtck.ha.common.core.web.service.IBaseService;
/**
* @ClassName: DsTaskChildInfoService
* @Description: DsTaskChildInfo业务访问接口
* @author liuyuan
* @date 2025-07-09
*/
public interface DsTaskChildInfoService extends IBaseService<DsTaskChildInfo> {
    /**
     * 获取子任务信息根据开始时间
     *
     * @param taskInfo 入参
     * @return List<TaskChildInfo>
     */
    List<DsTaskChildInfo> selectTaskChildListByTime(DsTaskInfo taskInfo);

    /**
     * 启动/停止任务状态
     *
     * @param taskInfo 任务对象
     * @return CheckResult<Object>
     */
    CheckResult<Object> updateStatusData(DsTaskInfo taskInfo);

    /**
     * 批量（单个）删除任务及其子任务
     *
     * @param taskVo 任务入参
     * @return ResultBody
     */
    CheckResult<Object> deleteChildTask(TaskVo taskVo);

    /**
     * 更新子任务状态
     *
     * @param taskChildId 子任务id
     */
    void updateByIds(List<Long> taskChildId);

}

